package com.company;

import java.util.*;

import java.util.stream.Collectors;

/**
 * @author jrue
 * @description
 * @date 2019/11/15 10:21
 */
public class SortArray {

    public List<Integer> sortArray(int[] nums) {
        List<Integer> integers = Arrays.stream(nums).sorted().boxed().collect(Collectors.toList());
        Collections.reverse(integers);

        return integers;
    }

}
